﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Easydp.Controllers;
namespace Web.Views.AgentManager
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //(new Easydp.Controllers.AgentController()).InitAgentInfo("agent");
                //初始化代理商信息
                (new Easydp.Controllers.AgentController()).InitAgentInfo(Context.User.Identity.Name);
                divLogo.InnerText = string.Format("{0} 管理后台", AgentController.AgentInfo.AgentName);
                this.Title = AgentController.AgentInfo.AgentName + " 后台管理";
            }
        }
    }
}
